Skip to content

fix(execution): scope job stages and counts to their own progress - #629

Merged
aitianshi merged 2 commits into
mainfrom
fix/job-scoped-execution-stages
Dec 2, 2026
Merged

aitianshi merged 2 commits into
mainfrom
fix/job-scoped-execution-stages

Conversation

@aitianshi

@aitianshi aitianshi commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #408

What

  • A job inherited every participant’s installs and unit totals from the launch log.
  • Read each job’s progress beside shared host preparation; four jobs of eight tasks each now carry eight tasks each.
  • Keep environment builds within Units, with their state, timing and failure detail.
  • Page polling and nullius remote status RUN --job JOB use the same fold. runs show stays unchanged: it already reads one job’s trials.

Before and after

Synthetic four-part launch, 1280 px.

Page Before After
Job Before: other participants’ installs After: nop’s own stages
Preparing Before: launch-wide stages After: job-scoped stages

Verified

  • After merging main: backend and contract tests 129; routes 134; docs checks pass.
  • Browser: nop/agent, job/preparing, light/dark, 1280/390 px; no console errors or page overflow.
  • No benchmark runs.

Risk

  • Shared execution and progress folding affect every run; job polling now reads the job’s progress file on each request. Large progress files may increase polling latency.
  • Host progress updates follow the existing job mirror cadence.
  • Missing progress in older multi-job runs shows shared preparation only.

Agents

  • Codex, GPT-6 Astra

@github-actions github-actions Bot added the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
@github-actions github-actions Bot removed the merge conflict Conflicts with its base: merge or rebase it label Dec 2, 2026
@aitianshi
aitianshi marked this pull request as ready for review December 2, 2026 12:43
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

🟡 PR judge · 5 of 6 yes · #629 ↔ #408

Merge risk 🔴 MAJOR app/nullius/execution.py is in the path of every run
Depth 🔴 EXTREME the deepest path is app/nullius/execution.py
Question Verdict
Changes do what the issue asks · 4 of 4 criteria ✅ yes
Issue and pull request describe the same change ✅ yes
Description matches the diff ✅ yes
Diff stays in scope ✅ yes
Risk named in the description ⚠️ partly
Before and after shown · 4 images · the diff touches what is visible ✅ yes
Acceptance criteria, 4 of 4 met
# Criterion Verdict
1 A job's page shows only the stages and units of the part that wrote that job, or the strip says it is the launch's (per… ✅ met
2 The units the strip carries for a job are that job's: 8 tasks of a launch of four parts, not 32 (test over fold). ✅ met
3 An Install <agent> step appears only on that agent's job. ✅ met
4 Environment builds that happen during units are not drawn as steps that follow Units (test over fold). ✅ met
Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/, .agents/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
@aitianshi
aitianshi merged commit e8e46c6 into main Dec 2, 2026
7 checks passed
@aitianshi
aitianshi deleted the fix/job-scoped-execution-stages branch December 2, 2026 12:55
@github-actions github-actions Bot removed the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Job page: the stage strip shows every part of the launch, so a nop job lists "Install terminus-2" and "Install jiuwenswarm@0.2.8"

1 participant